const evevlists = require("../sql/evenlist")
const sql = require('../sql/mysql');
const jwt = require("jsonwebtoken");
const evenlist = require("../sql/evenlist");

module.exports = (req,res)=>{
   sql.get(evenlist,{_id:req.fields._id}).then(data=>{
      res.send({
         code:0,
         msg:"搜索成功",
         data,
      })
   })
}